home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / command-not-found.preinst < prev    next >
Text File  |  2008-10-15  |  668b  |  23 lines

  1. #!/bin/sh
  2. set -e
  3. # Automatically added by dh_pycentral
  4. if which pycentral >/dev/null 2>&1 && pycentral --help 2>/dev/null | grep -q '^ *version'; then
  5.     pycentral pkgprepare command-not-found <<PYEOF
  6. [python-package]
  7. format = 1
  8. python-version = current
  9. [pycentral]
  10. version = 0.6.7
  11. [files]
  12. /usr/share/pyshared/CommandNotFound=d
  13. /usr/share/pyshared/CommandNotFound/CommandNotFound.py=f
  14. /usr/share/pyshared/CommandNotFound/__init__.py=f
  15. /usr/share/pyshared/CommandNotFound/util.py=f
  16. /usr/share/pyshared/command_not_found-0.1.egg-info=f
  17. PYEOF
  18. else
  19.     mkdir -p /var/lib/pycentral
  20.     echo command-not-found >> /var/lib/pycentral/delayed-pkgs
  21. fi
  22. # End automatically added section
  23.